import { Component } from '@angular/core';
import { NavController, ModalController, NavParams, ViewController } from 'ionic-angular';
import { CommDetailPage } from '../comm-detail/comm-detail';

@Component({
  selector: 'page-suggestion',
  templateUrl: 'suggestion.html'
})
export class SuggestionPage {
  // params: Object;
  // pushPage: any;
  constructor(public nav: NavController, public modalCtrl: ModalController, public viewCtrl: ViewController) {
    // this.pushPage = CommDetailPage;
    // this.params={id: 2};

  }

  isOutline: boolean = false;

  goDetail(){
    let profileModal = this.modalCtrl.create(CommDetailPage);
    profileModal.present();
  }

}
